package com.example.crawler.youtube.exception;

import lombok.Getter;

@Getter
public class YoutubeException extends RuntimeException {
    private String url;

    public YoutubeException(String youtubeVideoUrl, String message) {
        super(message);
        this.url = youtubeVideoUrl;
    }

    public YoutubeException(String message) {
        super(message);
    }
}
